calendar: make sure to call gtk_style_context_restore()
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 7 Apr 2011 19:21:32 +0000 (15:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Apr 2011 00:33:58 +0000 (20:33 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=647086

gtk/gtkcalendar.c

index 59bac5ef74e00903dfb06aecf620f3f70b895cc3..1d9d83594fc63eaa80ec0d48fbdc9b1087106451 100644 (file)
@@ -2827,6 +2827,8 @@ gtk_calendar_draw (GtkWidget *widget,
       gtk_render_frame (context, cr, 0, 0,
                         gtk_widget_get_allocated_width (widget),
                         gtk_widget_get_allocated_height (widget));
+
+      gtk_style_context_restore (context);
     }
 
   calendar_paint_main (calendar, cr);